﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EmailHelper.Model
{
    /// <summary>
    /// 邮件服务器配置
    /// </summary>
    public class ServerConfigurationEntity
    {
        /// <summary>
        /// 邮箱服务器地址
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// 邮箱服务器端口
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// 是否启用IsSsl
        /// </summary>
        public bool IsSsl { get; set; }

        /// <summary>
        /// 邮件编码
        /// </summary>
        public string MailEncoding { get; set; }

        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 密码，需要用第三方登录密码
        /// </summary>
        public string Password { get; set; }

    }
}